package artibella.media.audio 
{
	import artibella.loaders.ILoaderAgent;
	import artibella.media.controls.AController;
	
	/**
	 * ...
	 * @author pbordachar
	 */
	
	public class AudioMediaParameters
	{
		
		private var _controller:AController;
		
		private var _volume:Number = 1;
		private var _looped:Boolean = false;
		
		private var _function:Function = null;
		private var _agent:ILoaderAgent = null;
		
		
		public function AudioMediaParameters() 
		{
			
		}
		
		// - - -
		
		public function get controller():AController
		{
			return _controller;
		}
		
		public function set controller( c:AController ):void
		{
			_controller = c;
		}
		
		// - - -
		
		public function get volume():Number
		{
			return _volume;
		}
		
		public function set volume( vol:Number ):void
		{
			_volume = vol;
		}

		public function get looped():Boolean
		{
			return _looped;
		}
		
		public function set looped( b:Boolean ):void
		{
			_looped = b;
		}
		// - - -
		
		public function get onComplete():Function
		{
			return _function;
		}
		
		public function set onComplete( f:Function ):void
		{
			_function = f;
		}
		
		// - - -
		
		public function get agent():ILoaderAgent
		{
			return _agent;
		}
		
		public function set agent( a:ILoaderAgent ):void
		{
			_agent = a;
		}
		
	}

}